var runtime.newmHandoff
21 uses
runtime (current package)
proc.go#L2360: var newmHandoff struct {
proc.go#L2413: lock(&newmHandoff.lock)
proc.go#L2414: if newmHandoff.haveTemplateThread == 0 {
proc.go#L2417: mp.schedlink = newmHandoff.newm
proc.go#L2418: newmHandoff.newm.set(mp)
proc.go#L2419: if newmHandoff.waiting {
proc.go#L2420: newmHandoff.waiting = false
proc.go#L2421: notewakeup(&newmHandoff.wake)
proc.go#L2423: unlock(&newmHandoff.lock)
proc.go#L2471: if !atomic.Cas(&newmHandoff.haveTemplateThread, 0, 1) {
proc.go#L2498: lock(&newmHandoff.lock)
proc.go#L2499: for newmHandoff.newm != 0 {
proc.go#L2500: newm := newmHandoff.newm.ptr()
proc.go#L2501: newmHandoff.newm = 0
proc.go#L2502: unlock(&newmHandoff.lock)
proc.go#L2509: lock(&newmHandoff.lock)
proc.go#L2511: newmHandoff.waiting = true
proc.go#L2512: noteclear(&newmHandoff.wake)
proc.go#L2513: unlock(&newmHandoff.lock)
proc.go#L2514: notesleep(&newmHandoff.wake)
proc.go#L4784: if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |